/**
 * @date: 2025/3/22
 * @author: 小红
 * @Description: 全局枚举
 */

import { useEnv } from '@/hooks/useEnv';

/**
 * 全局前缀
 */
export const APP_PREFIX: string = useEnv('VITE_GLOB_APP_TITLE', (key) => key.toLocaleUpperCase() + '__');

/**
 * 文件预览前缀
 */
export const FILE_PREVIEW = useEnv('VITE_API_URL') + '/oss/file/preview/';

/**
 * IM连接前缀
 */
export const IM_CONNECT = '/im/ws';
